/**
 * 
 */
package org.istt.service.impl;

import java.util.Date;
import java.util.List;

import org.istt.dao.FileCapGPXDDao;
import org.istt.domain.FileCapPhepXayDung;
import org.istt.service.FileCapGPXDManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Huy
 *
 */
@Service("fileCapGPXDManager")
public class FileCapGPXDManagerImpl extends ManagerImpl<FileCapPhepXayDung, Long> implements FileCapGPXDManager {
	
	/**
	 * 
	 */
	@Autowired
	public void setFileCapGPXDDao(FileCapGPXDDao dao) {
		this.dao = dao;
	}
	
	/*
	 * (non-Javadoc)
	 * 
	 */
	@Override
	public List<List<Object>> searchAllObjects(Date fromDate, Date toDate, Boolean received) {
		return ((FileCapGPXDDao)dao).findAllObjects(fromDate, toDate, received);
	}

	@Override
	public void removeAllFile() {
		// TODO Auto-generated method stub
		((FileCapGPXDDao)dao).removeAllFile();
	}	

}
